package com.jfinal.weixin.ext.menu;  
  
/** 
 * 普通按钮，没有子按钮
 *  
 * @author 张龙 
 * @date 2017-12-26 
 */  
public class CommonButton extends Button {  
    private String type;  
    private String key;
    private String url;
    private String media_id;
    private String appid;
    private String pagepath;
  
    public CommonButton(String name,String type){
    	this.setName(name);
    	this.setType(type);
    	this.setKey(key);
    }
    
    public String getType() {  
        return type;  
    }  
  
    public void setType(String type) {  
        this.type = type;  
    }  
  
    public String getKey() {  
        return key;  
    }  
  
    public void setKey(String key) {  
        this.key = key;  
    }

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getMedia_id() {
		return media_id;
	}

	public void setMedia_id(String media_id) {
		this.media_id = media_id;
	}

	public String getAppid() {
		return appid;
	}

	public void setAppid(String appid) {
		this.appid = appid;
	}

	public String getPagepath() {
		return pagepath;
	}

	public void setPagepath(String pagepath) {
		this.pagepath = pagepath;
	}  
}  